projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b6b5c1
)
switch: Fix build
author
Timm Bäder
<mail@baedert.org>
Mon, 16 Jan 2017 20:01:59 +0000
(21:01 +0100)
committer
Timm Bäder
<mail@baedert.org>
Mon, 16 Jan 2017 20:01:59 +0000
(21:01 +0100)
Partial revert of
2b6b5c1c8fecdd66172516812ed3f1825619dafc
, which
removed a little too much.
gtk/gtkswitch.c
patch
|
blob
|
history
diff --git
a/gtk/gtkswitch.c
b/gtk/gtkswitch.c
index ede2fc483c2e0c70c4281080ace85714e66ecd2d..cc2e1ff96fbac99b7759b1efc014d2d66fe8f379 100644
(file)
--- a/
gtk/gtkswitch.c
+++ b/
gtk/gtkswitch.c
@@
-191,7
+191,9
@@
gtk_switch_multipress_gesture_pressed (GtkGestureMultiPress *gesture,
GtkSwitch *sw)
{
GtkSwitchPrivate *priv = sw->priv;
+ GtkAllocation allocation;
+ gtk_widget_get_allocation (GTK_WIDGET (sw), &allocation);
gtk_gesture_set_state (GTK_GESTURE (gesture), GTK_EVENT_SEQUENCE_CLAIMED);
/* If the press didn't happen in the draggable handle,